package ch.areion.areionapp.core;

import ioio.lib.api.exception.ConnectionLostException;

public interface Disconnectable {

	/**
	 * Makes it possible to close all open connections to IOIO.
	 * @throws ConnectionLostException When IOIO connection is lost.
	 * @throws InterrruptedException When thread is interrupted.
	 */
	public void disconnect() throws ConnectionLostException, InterruptedException;
}
